package cn.udinghuo.model.archives.system;

import com.fasterxml.jackson.annotation.JsonSetter;

import org.springframework.util.Assert;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.persistence.Column;
import cn.udinghuo.core.domain.entity.BaseEntity;	
import cn.udinghuo.core.domain.entity.Comment;
import cn.udinghuo.core.domain.entity.ita.CacheKey;

/**
 * @author yueyibo
 *	物流信息
 */
@Entity
@Table(name="logistics")
public class Logistics extends BaseEntity<Long>  {

	private static final long serialVersionUID = -67108865L;
	/**
	* 编码code
	*/
	@Comment(value="编码")
	@Column(name="cCode")
	private String code;
	/**
	* 中文名称fullName
	*/
	@Comment(value="中文名称")
	@Column(name="cFullName")
	private String fullName;
	/**
	* 首字母拼音firstPY
	*/
	@Comment(value="首字母拼音")
	@Column(name="cFirstPY")
	private String firstPY;
	/**
	* 中文缩写shortName
	*/
	@Comment(value="中文缩写")
	@Column(name="cShortName")
	private String shortName;
	/**
	* logo路径image
	*/
	@Comment(value="logo路径")
	@Column(name="cImage")
	private String image;
	/**
	* 是否热门物流  是hot
	*/
	@Comment(value="是否热门物流  是")
	@Column(name="bHot")
	private Boolean hot;
	/**
	* 电话contactNumber
	*/
	@Comment(value="电话")
	@Column(name="contactNumber")
	private String contactNumber;
	/**
	* 网址url
	*/
	@Comment(value="网址")
	@Column(name="url")
	private String url;
	/**
	* 单号校验（正则）noVerify
	*/
	@Comment(value="单号校验（正则）")
	@Column(name="cNoVerify")
	private String noVerify;
	/**
	* 备注memo
	*/
	@Comment(value="备注")
	@Column(name="cMemo")
	private String memo;
	/**
	* 单号查询网址queryNoUrl
	*/
	@Comment(value="单号查询网址")
	@Column(name="cQueryNoUrl")
	private String queryNoUrl;
	/**
	* 是否有效enable
	*/
	@Comment(value="是否有效")
	@Column(name="bEnable")
	private Boolean enable;
	/**
	* 英文缩写shortcode
	*/
	@Comment(value="英文缩写")
	@Column(name="cShortcode")
	private String shortcode;
	/**
	* 快递公司升级信息promptinfo
	*/
	@Comment(value="快递公司升级信息")
	@Column(name="cPromptinfo")
	private String promptinfo;
	public String getCode() {
		return this.code;
	}
	
	public void setCode(String value) {
		this.code = value;
	}
	
	public String getFullName() {
		return this.fullName;
	}
	
	public void setFullName(String value) {
		this.fullName = value;
	}
	
	public String getFirstPY() {
		return this.firstPY;
	}
	
	public void setFirstPY(String value) {
		this.firstPY = value;
	}
	
	public String getShortName() {
		return this.shortName;
	}
	
	public void setShortName(String value) {
		this.shortName = value;
	}
	
	public String getImage() {
		return this.image;
	}
	
	public void setImage(String value) {
		this.image = value;
	}
	
	public Boolean getHot() {
		if(this.hot == null){
			return false;
        }
		return this.hot;
	}
	
	public void setHot(Boolean value) {
		this.hot = value;
	}
	
	public String getContactNumber() {
		return this.contactNumber;
	}
	
	public void setContactNumber(String value) {
		this.contactNumber = value;
	}
	
	public String getUrl() {
		return this.url;
	}
	
	public void setUrl(String value) {
		this.url = value;
	}
	
	public String getNoVerify() {
		return this.noVerify;
	}
	
	public void setNoVerify(String value) {
		this.noVerify = value;
	}
	
	public String getMemo() {
		return this.memo;
	}
	
	public void setMemo(String value) {
		this.memo = value;
	}
	
	public String getQueryNoUrl() {
		return this.queryNoUrl;
	}
	
	public void setQueryNoUrl(String value) {
		this.queryNoUrl = value;
	}
	
	public Boolean getEnable() {
		if(this.enable == null){
			return true;
        }
		return this.enable;
	}
	
	public void setEnable(Boolean value) {
		this.enable = value;
	}
	
	public String getShortcode() {
		return this.shortcode;
	}
	
	public void setShortcode(String value) {
		this.shortcode = value;
	}
	
	public String getPromptinfo() {
		return this.promptinfo;
	}
	
	public void setPromptinfo(String value) {
		this.promptinfo = value;
	}
	
}
